package com.mkyong.app;

import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.util.ArrayList;
import java.util.List;

import com.hp.hpl.jena.query.QueryExecution;
import com.hp.hpl.jena.query.QueryExecutionFactory;
import com.hp.hpl.jena.query.QuerySolution;
import com.hp.hpl.jena.rdf.model.Model;
import com.hp.hpl.jena.rdf.model.ModelFactory;

public class OwlFileStore extends CustomStore {

	public Model getDefaultModel() {
		Model model = ModelFactory.createDefaultModel();
		try {
			model.read(
					new FileInputStream(EndpointContextListner.OWL_LOCATION),
					null, "TTL");
		} catch (FileNotFoundException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
		return model;
	}

	@Override
	public void setupStore() throws Exception {

	}
}
